package Routes

/**
 * Created by Goland
 * User: wkk alisleepy@hotmail.com
 * Time: 2023/1/8 - 01:04
 * Desc: <异步任务>
 */

import (
	"ali-hr/Http/Controller/Task"
	"github.com/gin-gonic/gin"
)

/**
 * Created by Goland
 * User: wkk alisleepy@hotmail.com
 * Time: 2021/12/18 - 20:30
 * Desc: <异步任务路由信息>
 */

func InitTaskRoutes(r *gin.Engine) {
	TaskGroup := r.Group("/")
	{
		// 消费异步任务
		TaskGroup.GET("/consume_task", Task.ConsumeTask)
	}
}
